<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "{{%open}}".
 *
 * @property integer $id
 * @property integer $switch
 */
class OpenFront extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%open_front}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['switch'], 'integer']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'switch' => 'Switch',
        ];
    }
}
